锁同样有粒度大小,有表级锁(table lock)和行级锁(row lock),分别在数据操作的过程中完成行的锁定和表的锁定。这些根据不同的存储引擎所具有的特性也是不一样的。
基于82个网页-相关网页
Row Exclusive Table Lock 行级排它锁
temp table lock 临时表锁
Lock Table 锁表 ; 手工锁
LOCK TABLE - control concurrency 控制并发
lock any table 给任意表加锁的权限 ; 锁任何表的权限 ; 锁住任何模式中的任何表或视图
lock up table 闭锁表
Lock-Free Hash Table 无锁哈希表
system record lock table 系统记录锁定表
When using CS in application A1, there will be an IS (intent share) table lock.
在应用程序a 1中使用CS时,将有一个IS (intent share)表锁定。
The only alternative to a lock on every new row is a table lock (since there are no page locks in DB2).
对于每个新行之上的锁,惟一可以替代的是表锁(DB 2中没有页锁)。
If after replacing these with a single table lock, the MAXLOCKS value is no longer exceeded, lock escalation stops.
如果用一个表锁替换这些行锁,将不再会超出maxlocks值,那么锁升级就会停止。
应用推荐